using System.Data;

namespace Firestarter.DB.Schema.Logic
{
    public static class DataTableUtilities
    {
        public static void AddColumn(DataTable dataTable, string columnName, string expression)
        {
            if (dataTable.Columns.Contains(columnName)) return;
            dataTable.Columns.Add(columnName).Expression = expression;
        }
    }
}